package com.appspot.chooserepository.client;

import java.util.ArrayList;

public enum Repositories {
	BEAST_AND_WOODY("Beast and Woody"),
	MIR_AND_PLUTO("Mir and Pluto"),
	//BRANDY("Brandy"),
	//BAMBY("Bamby"),
	KRENG("Kreng 9.148.222.15"),
	SHREDER("Shreder 9.148.222.16"),
	IMPREZA("Impreza 9.148.222.17"),
	SUBARU("Subaru 9.148.222.18"),
	KENNY("Kenny 9.148.222.19"),
	FORD("Ford 9.148.220.216"),
	MINI("Mini 9.148.220.219");
	

	private final String name;

	private Repositories(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
	
	public static ArrayList<String> getListOfRepositories()
	{
		ArrayList<String> repositoriesList = new ArrayList<String>();
		for (Repositories repository : Repositories.values()) {
			repositoriesList.add(repository.getName());
		}
		return repositoriesList;
	}
}
